package com.lin.pay.paypal.v2.dto.orders;


import java.util.List;

public class Refund {
    /**
     * The currency and amount for a financial transaction, such as a balance or payment due.
     */
    private Money amount;


    /**
     * The date and time, in [Internet date and time format](https://tools.ietf.org/html/rfc3339#section-5.6). Seconds are required while fractional seconds are optional.<blockquote><strong>Note:</strong> The regular expression provides guidance but does not reject all invalid dates.</blockquote>
     */
    private String create_time;


    /**
     * The PayPal-generated ID for the refund.
     */
    private String id;


    /**
     * The API caller-provided external invoice number for this order. Appears in both the payer's transaction history and the emails that the payer receives.
     */
    private String invoice_id;


    /**
     * An array of related [HATEOAS links](/docs/api/reference/api-responses/#hateoas-links).
     */
    private List<LinkDescription> links;


    /**
     * The reason for the refund. Appears in both the payer's transaction history and the emails that the payer receives.
     */
    private String note_to_payer;


    /**
     * The details of the refund status.
     */
    private RefundStatusDetails status_details;


    /**
     * The breakdown of the refund.
     */
    private MerchantPayableBreakdown seller_payable_breakdown;


    /**
     * The status of the capture.
     */
    private String status;


    /**
     * The date and time, in [Internet date and time format](https://tools.ietf.org/html/rfc3339#section-5.6). Seconds are required while fractional seconds are optional.<blockquote><strong>Note:</strong> The regular expression provides guidance but does not reject all invalid dates.</blockquote>
     */
    private String update_time;

    public Money getAmount() {
        return amount;
    }

    public void setAmount(Money amount) {
        this.amount = amount;
    }

    public String getCreate_time() {
        return create_time;
    }

    public void setCreate_time(String create_time) {
        this.create_time = create_time;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getInvoice_id() {
        return invoice_id;
    }

    public void setInvoice_id(String invoice_id) {
        this.invoice_id = invoice_id;
    }

    public List<LinkDescription> getLinks() {
        return links;
    }

    public void setLinks(List<LinkDescription> links) {
        this.links = links;
    }

    public String getNote_to_payer() {
        return note_to_payer;
    }

    public void setNote_to_payer(String note_to_payer) {
        this.note_to_payer = note_to_payer;
    }

    public RefundStatusDetails getStatus_details() {
        return status_details;
    }

    public void setStatus_details(RefundStatusDetails status_details) {
        this.status_details = status_details;
    }

    public MerchantPayableBreakdown getSeller_payable_breakdown() {
        return seller_payable_breakdown;
    }

    public void setSeller_payable_breakdown(MerchantPayableBreakdown seller_payable_breakdown) {
        this.seller_payable_breakdown = seller_payable_breakdown;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(String update_time) {
        this.update_time = update_time;
    }
}
